package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.CourseComments;

/**
 * 课堂评论Mapper接口
 * 
 * @author zrj
 * @date 2025-07-15
 */
public interface CourseCommentsMapper 
{
    /**
     * 查询课堂评论
     * 
     * @param commentUid 课堂评论主键
     * @return 课堂评论
     */
    public CourseComments selectCourseCommentsByCommentUid(Long commentUid);

    /**
     * 查询课堂评论列表
     * 
     * @param courseComments 课堂评论
     * @return 课堂评论集合
     */
    public List<CourseComments> selectCourseCommentsList(CourseComments courseComments);

    /**
     * 新增课堂评论
     * 
     * @param courseComments 课堂评论
     * @return 结果
     */
    public int insertCourseComments(CourseComments courseComments);

    /**
     * 修改课堂评论
     * 
     * @param courseComments 课堂评论
     * @return 结果
     */
    public int updateCourseComments(CourseComments courseComments);

    /**
     * 删除课堂评论
     * 
     * @param commentUid 课堂评论主键
     * @return 结果
     */
    public int deleteCourseCommentsByCommentUid(Long commentUid);

    /**
     * 批量删除课堂评论
     * 
     * @param commentUids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCourseCommentsByCommentUids(Long[] commentUids);
}
